


#include <iostream>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>

using namespace std;
using namespace cv;

int main(int argc, char** argv)
{
    FileStorage fs_ ("../yml/1.yml", FileStorage::READ);
    int r1, r2;
    fs_["num1"]>>r1;
    fs_["num2"]>>r2;
    Mat A(4,5,CV_32FC1);
    fs_["A"]>>A;
    cout<< "r1 :"<<r1<<endl;
    std::cout<< "r1 :"<<(int)fs_["num1"]<<std::endl;
    cout<< "r2 :"<<r2<<endl;
    cout<< "A :"<<"\n"<<A<<endl;
    fs_.release();
}


